<?php

 /**
  * @package JooS
  * @subpackage PHPackager_Archive
  */

  interface JooS_PHPackager_Archive_Interface {
    /**
     * @return JooS_PHPackager_Archive_Interface
     */
    public function create();

    /**
     * @param string $localName
     * @param string $content
     * @return JooS_PHPackager_Archive_Interface
     */
    public function addFromString($localName, $content);

    /**
     * @param string $realPath
     * @param string $localName
     * @return JooS_PHPackager_Archive_Interface
     */
    public function addFile($realPath, $localName);

    /**
     * @return JooS_PHPackager_Archive_Interface
     */
    public function close();

    /**
     * @return JooS_CodeGenerator_File_Adapter
     */
    public function getAdapter();
  }
